home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
bipl.zip
/
PROCS.ZIP
/
RANDREAL.ICN
< prev
next >
Wrap
Text File
|
1992-09-28
|
585b
|
23 lines
############################################################################
#
# File: randreal.icn
#
# Subject: Procedure to randomly select real number in range
#
# Author: Ralph E. Griswold
#
# Date: December 31, 1991
#
###########################################################################
#
# randreal(low, high) returns a randomly selected real number in the
# range between low and high.
#
############################################################################
procedure randreal(low, high)
return ?0 * (high - low) + low
end